package com.mycompany.app.hr.pa.model.block4employee;

import javax.persistence.Column;

import org.apache.commons.lang.builder.ToStringBuilder;

public class EmployeeWorkingInfo {

    /**
     * shift pattern和shift code的关系. 每种类型的shift pattern,
     * 对应各种shift code的员工如何工作.
     */
    @Column(name = "shift_code")
    private String shiftCode;
    
    //Standard hours per pay period (40 hours)
    private Float standardHours;
    
    
    private boolean isPartTime;
    
    private Float employmentPercent;
    
    private Float dailyWorkingHours;

    private Float weeklyWorkingHours;

    private Float monthlyWorkingHours;

    private Float annualyWorkingHours;

    private Float weeklyWorkdays;

    /**
     * Type of work schedule
     */
    private String workScheduleRule;
    
    /**
     * need_TA_manager Y---The employee need punch time N--The employee need not
     * punch time N grade>156 or (grade=156 and job title contains manager) Y
     * grade<156 or (grade=156 and job title doesn't contain manager)
     */

    //=======================================================
    @Override
    public String toString() {

        return ToStringBuilder.reflectionToString(this);
    }
    //=======================================================

    public String getShiftCode() {
    
        return shiftCode;
    }

    public void setShiftCode(String shiftCode) {
    
        this.shiftCode = shiftCode;
    }
    
    
    
    
    

}
